import { useRequest } from '@/api/hooks/use-request'
import { BaseRequestMethod } from '../request/types'

const url = '/menu'

export interface SystemMenuRequestMethod extends BaseRequestMethod {}

// 公共请求方法
const { getDataList, createData, updateData, deleteData } = useRequest(url)

export { getDataList, createData, updateData, deleteData }
